package com.cci.kangdao.service;

import java.util.List;
import java.util.Map;

/**
 * @description:
 * @author: Lin JianKun
 * @company: CTY
 * @since: 2023/2/3 11:08
 * @version: V1.0
 **/
public interface SyncEsnAndUserId {

//    @Async
    void asSyncEsnAndUserIdAddOne(String esn, String vinStr, Long userId,String drivingLicensePhotoUrl,String source,String inviteCode,String salesChannel);

//    @Async
    void asSyncEsnAndUserIdUpdateOne(String esn, String vinStr, Long userId,String drivingLicensePhotoUrl,String source,String inviteCode,String salesChannel);

//    @Async
    void asSyncEsnAndUserIdDelOne(String esn, Long userId);

//    @Async
    void asSyncEsnAndUserIdAddByuserId(Long userId);

//    @Async
    void asSyncEsnAndUserIdDelByuserId(Long userId);

    void asSyncEsnAndUserIdDelByuserIdChannel(Long userId,String serviceChannel);

    void asSyncEsnAndUserIdUpdateByuserId(Long userId);

//    @Async
    public void asSyncEsnAndUserIdList(List<Map<String, Object>> addlist, List<Map<String, Object>> updatelist, List<Map<String, Object>> deletelist, Integer channel);

    //来源转换
    public Integer deviceSourceConvert(String source);
}
